package com.dolphin.common.component.var.model;

import com.dolphin.common.component.var.enums.VarTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString(callSuper = true)
public class BizVarModel extends BaseVarModel{

    public static final String BIZ_CATEGORY = "BIZ";
    private String msgFieldName;
    private String msgFiledType;
    private Integer sourceId;

    private Boolean isBiz;

    public BizVarModel() {
    }

    @Override
    public String getBid() {
        return VarTypeEnum.BIZ_VAR.getIndex() + getId();
    }

    @Override
    public VarTypeEnum getVarType() {
        return VarTypeEnum.BIZ_VAR;
    }
}
